.TH std::nested_exception::nested_ptr 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::nested_exception::nested_ptr \- std::nested_exception::nested_ptr

.SH Synopsis
   std::exception_ptr nested_ptr() const noexcept;  \fI(since C++11)\fP

   Returns a pointer to the stored exception, if any.

.SH Parameters

   \fI(none)\fP

.SH Return value

   A std::exception_ptr to the stored exception if one is stored, default-initialized
   std::exception_ptr otherwise.
